package com.laycoding.kafka.producer;

import org.springframework.stereotype.Service;

/**
 * created with IntelliJ IDEA.
 *
 * @author: guidada
 * @date: 2021/04/18/16:40
 * @description:
 */

public interface KafkaService {

   /**
    * 生产者发送消息
    * @author guidada
    * @date 2021/4/18 0018
    * @param topic
   	 * @param msg
    * @return void
    * @description ~
    */
    void sendMessage(String topic,String msg);
}
